#define _CRT_SECURE_NO_WARNINGS
#include "SeqList.h"


void TestSeqList1()
{
	SL S1;
	SeqListInit(&S1);
	SeqListPushBack(&S1, 10);
	SeqListPushBack(&S1, 20);
	SeqListPushBack(&S1, 30);
	SeqListPushBack(&S1, 40);
	SeqListPushBack(&S1, 50);
	SeqListPrint(&S1);
	//SeqListPushFront(&S1, 10);
	//SeqListPushFront(&S1, 20);
	//SeqListPushFront(&S1, 30);
	//SeqListPushFront(&S1, 40);
	//SeqListPushFront(&S1, 50);
	//SeqListPrint(&S1);
	//SeqListPopFront(&S1);
	//SeqListPopFront(&S1);
	//SeqListPopFront(&S1);
	//SeqListPopBack(&S1);
	//SeqListPopBack(&S1);
	//SeqListPrint(&S1);
	//SeqListFind(&S1, 30);
	//SeqListFind(&S1, 70);
	SeqListInsert(&S1, 2, 100);
	SeqListInsert(&S1, 2, 100);
	SeqListInsert(&S1, 2, 100);
	SeqListInsert(&S1, 10, 100);
	SeqListPrint(&S1);
	SeqListErase(&S1, 3);
	SeqListPrint(&S1);
	SeqListDestory(&S1);
}

int main(void)
{
	TestSeqList1();
}